package beautiful.butterfly.drds.binlog.event.data;

import beautiful.butterfly.drds.binlog.event.EventData;
import beautiful.butterfly.drds.binlog.event.EventHeader;
import com.alibaba.fastjson.JSONObject;
import lombok.Getter;
import lombok.Setter;

import java.util.ArrayList;

public class RotateEventData implements EventData
{


    @Setter
    @Getter
    private String binlogFilename;
    @Setter
    @Getter
    private long binlogFilePosition;
    @Setter
    @Getter
    private EventHeader eventHeader;

    @Override
    public void setEventHeader(EventHeader eventHeader)
    {
        this.eventHeader = eventHeader;
    }

    @Override
    public ArrayList<JSONObject> toJson()
    {
        // TODO Auto-generated method stub
        return null;
    }

}
